﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SharePoint.Diagnostics
{
    /// <summary>
    /// The TraceSeverity enumeration defines the trace levels that are written to the Severity column in the trace log. These are the only valid values accepted by Windows SharePoint Services; if a trace log message line is submitted with any other value, it is written to the trace log with a severity level of "Undefined".
    /// </summary>
    public enum TraceSeverity
    {
        /// <summary>
        /// Unassigned
        /// </summary>
        Unassigned = 0,
        /// <summary>
        /// CriticalEvent
        /// </summary>
        CriticalEvent = 1,
        /// <summary>
        /// WarningEvent
        /// </summary>
        WarningEvent = 2,
        /// <summary>
        /// InformationEvent
        /// </summary>
        InformationEvent = 3,
        /// <summary>
        /// Exception
        /// </summary>
        Exception = 4,
        /// <summary>
        /// Assert
        /// </summary>
        Assert = 7,
        /// <summary>
        /// Unexpected
        /// </summary>
        Unexpected = 10,
        /// <summary>
        /// Monitorable
        /// </summary>
        Monitorable = 15,
        /// <summary>
        /// High
        /// </summary>
        High = 20,
        /// <summary>
        /// Medium
        /// </summary>
        Medium = 50,
        /// <summary>
        /// Verbose
        /// </summary>
        Verbose = 100,
    }
}
